home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Georgia Wildfire Prevention
/
Georgia Wildfire Prevention.iso
/
pc
/
media
/
dirs
/
BackUp
/
WildFire.dir
/
00006_Script_MovieFrame Behavior
< prev
next >
Wrap
Text File
|
2002-10-15
|
681b
|
36 lines
Property LoopGuard, MovieTimer, MovieEnd, VideoMemberName
on new me
LoopGuard = 0
MovieTimer = 0
end
on prepareframe me
if LoopGuard = 0 then
sendallsprites(#MovieActionDown, "Pause")
sendallsprites(#MemberNameCall)
LoopGuard = 1
end if
end
on MemberResponse me, MemName
VideoMemberName = MemName
end
on exitframe me
if soundbusy(1) = 0 then
if MovieTimer = 0 then
set MovieTimer = the Ticks
MovieEnd = Member(VideoMemberName).duration + MovieTimer
sendallsprites(#movieActionDown, "Play")
else if the Ticks > MovieEnd then
go the frame = + 1
end if
end if
go the frame
end